﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Authorityuserlist.aspx.cs" Inherits="_2010web.Manage.InfoManage.Authorityuserlist" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Import Namespace="OF.Utility" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <!-- #include file="~/html/file.aspx" -->
</head>
<body>
    <form id="form1" runat="server">
        <div class="wrap">
            <!-- #include file="~/html/top.aspx" -->
            <div class="das">
                <div class="contents">
                    <!-- #include file="~/html/menu.aspx" -->
                    <div class="main ">
                        <div class="main_blc">
                            <div class="main_title">
                                <h3>用户管理</h3>
                                <span class="more">已拥有<em><%=intCount%></em>位用户</span>
                            </div>

                         <%--   <div class="main_search">
                                <label>
                                    系统：</label>
                                <asp:DropDownList runat="server" ID="ddlSystem">
                                </asp:DropDownList>
                                <a class="btn_search" href="javascript:void(0);">
                                    <input type="button" value="查找" onclick="goto();"></a>
                            </div>--%>
                            <div class="dasBtn1 das_tbtns">
                                <ul>
                                    <li><a href="AuthorityUserAdd.aspx"><span><em class="add_news"></em>添加用户</span></a></li>
                                    <li id="delAll" onclick="$().AjaxManage.DeleteAll('OpUserInforOperate');"><a href="javascript:void(0);">
                                        <span><em class="del"></em>删除用户</span></a></li>
                                </ul>
                            </div>
                            <div class="das_table">
                                <table width="100%" cellspacing="0" cellpadding="0" border="0">
                                    <colgroup>
                                        <col style="width: 3%">

                                        <col style="width: 20%">
                                        <col style="width: 10%">
                                        <col style="width: 20%">
                                    </colgroup>
                                    <thead>
                                        <tr class="title">
                                            <th>
                                                <span>
                                                    <input type="checkbox" name="all" onclick="$().AjaxManage.SelectAllCheckBox(this);"
                                                        class="radio"></span>
                                            </th>

                                            <th class="t_l">
                                                <span>用户</span>
                                            </th>

                                            <th class="t_l">
                                                <span>联系电话</span>
                                            </th>

                                            <th class="t_l">
                                                <span>登录次数</span>
                                            </th>
                                            <%--  <th class="t_l">
                                                <span>状态</span>
                                            </th>--%>

                                            <th>
                                                <span>最后登录时间</span>
                                            </th>
                                            <th class="last">
                                                <span>操作</span>
                                            </th>
                                        </tr>
                                    </thead>
                                    <tbody id="tbodylist">
                                        <asp:Repeater runat="server" ID="rptList">
                                            <ItemTemplate>
                                                <tr>
                                                    <td>
                                                        <input type="checkbox" name="radio" value="<%# Eval("OpUserID") %>">
                                                    </td>

                                                    <td>
                                                        <dl>
                                                            <dd>(<%# Eval("LoginName") %>)<%# Eval("OpUserName")%>
                                                            </dd>
                                                        </dl>
                                                    </td>
                                                    <td class="t_l">
                                                        <%# Eval("ContactMobile")%>
                                                    </td>
                                                    <td class="t_l">
                                                        <%# Eval("LoginCount")%>
                                                    </td>

                                                    <%-- <td class="t_l">
                                                        <%# Eval("State").ToString()=="1" ?"启用":"停用" %>
                                                    </td>--%>

                                                    <td>
                                                        <%# Eval("LastLoginDate")%>
                                                    </td>
                                                    <td>
                                                     
                                                        <a href="AuthorityUserAdd.aspx?id=<%# Eval("OpUserID") %> ">编辑</a>
                                                        <a href="javascript:void(0);" onclick="$().AjaxManage.DeleteCheck('<%#Eval("OpUserID")%>', 'OpUserInforOperate');">删除</a>
                                                    </td>
                                                </tr>
                                            </ItemTemplate>
                                            
                                            <FooterTemplate>
                                            </FooterTemplate>
                                        </asp:Repeater>
                                    </tbody>
                                </table>
                            </div>
                            <div class="das_tableb pages">
                                <webdiyer:AspNetPager ID="AspNetPager1" runat="server" showinputbox="Never" CssClass="paginator"
                                    UrlPaging="true" CurrentPageButtonClass="cpb" PageSize="15">
                                </webdiyer:AspNetPager>
                            </div>
                        </div>
                    </div>
                    <sub class="tl"></sub><sub class="tr"></sub>
                </div>
                <sub class="tl"></sub>
            </div>
            <!-- #include file="~/html/foot.aspx" -->
            <script>
                function goto() {

                    var systemid = $("#ddlSystem").val();
                    window.location.href = "Authorityuserlist.aspx?sysid=" + systemid;
                }
            </script>
        </div>
    </form>
</body>
</html>
